package com.study.mirrorforest.main.model.entries.mapper;

import com.study.mirrorforest.main.model.entries.dto.EntriesDTO;
import generator.domain.Entries;

import java.util.List;

/**
* @author 22530
* @description 针对表【entries】的数据库操作Mapper
* @createDate 2025-11-17 14:58:47
* @Entity generator.domain.Entries
*/
public interface EntriesMapper {

    int deleteByPrimaryKey(Long id);

    int insert(EntriesDTO record);

    int insertSelective(EntriesDTO record);

    EntriesDTO selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(EntriesDTO record);

    int updateByPrimaryKey(EntriesDTO record);

    List<EntriesDTO> selectByOwnerId(Long id);

    List<EntriesDTO> selectByTitle(Long id,String title);

    EntriesDTO selectByDate(Long id,String date);

}
